/*  zwt */
package cn.mandy.sysadmin.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class MonitorPlan implements Serializable {
    private Long id;

    private Long jobId;

    @ApiModelProperty(value = "动作类型 0 启动 1 停止 2 启动后运行run_duration 分钟停止")
    private String actionType;

    @ApiModelProperty(value = "状态：1 正常, 0 失效")
    private String izEnabled;

    @ApiModelProperty(value = "分钟0～59 每分钟用*表示")
    private String minute;

    @ApiModelProperty(value = "小时0～23 每小时用*表示")
    private String hour;

    @ApiModelProperty(value = "日期1～31 每天用*表示")
    private String day;

    @ApiModelProperty(value = "星期0～6（0表示星期天）每天用*表示")
    private String weekday;

    @ApiModelProperty(value = "月份1～12 每月用*表示")
    private String month;

    @ApiModelProperty(value = "计划运行时长-分钟")
    private Integer runDuration;

    @ApiModelProperty(value = "名称,简单说明调度计划 周期/时间_动作_时长")
    private String name;

    @ApiModelProperty(value = " 备注, 详细说明调度计划")
    private String remark;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public String getIzEnabled() {
        return izEnabled;
    }

    public void setIzEnabled(String izEnabled) {
        this.izEnabled = izEnabled;
    }

    public String getMinute() {
        return minute;
    }

    public void setMinute(String minute) {
        this.minute = minute;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getWeekday() {
        return weekday;
    }

    public void setWeekday(String weekday) {
        this.weekday = weekday;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public Integer getRunDuration() {
        return runDuration;
    }

    public void setRunDuration(Integer runDuration) {
        this.runDuration = runDuration;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", jobId=").append(jobId);
        sb.append(", actionType=").append(actionType);
        sb.append(", izEnabled=").append(izEnabled);
        sb.append(", minute=").append(minute);
        sb.append(", hour=").append(hour);
        sb.append(", day=").append(day);
        sb.append(", weekday=").append(weekday);
        sb.append(", month=").append(month);
        sb.append(", runDuration=").append(runDuration);
        sb.append(", name=").append(name);
        sb.append(", remark=").append(remark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}